<?

    $mysql_host = "127.0.0.1";
    $mysql_user = "root";
    $mysql_pwd = "root";
    $mysql_db = "sms reader";

    $connect = @mysql_connect($mysql_host, $mysql_user, $mysql_pwd) or die("MySQL DB blah blah blah~1");
    @mysql_select_db($mysql_db, $connect) or die("MySQL DB blah blah blah~2");

//    mysql_query("set names euckr");
    mysql_query("set names utf8");

?>